home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Creator Changer 2.7 / Code & Resource / Creator Changer.dialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-30  |  2.7 KB  |  68 lines  |  [TEXT/KAHL]

  1. #include "AppleEvents.h"
  2.  
  3. void                    Open_DLOG(Dialog_Info *);
  4.  
  5. void                    Switch_Chng_Dialog(Dialog_Info *, short);
  6. void                     Switch_Pt_Dialog(Dialog_Info *, short);
  7. void                     Switch_Ac_Dialog(Dialog_Info *, short);
  8. void                    Switch_Gnrl_Dialog(Dialog_Info *, short);
  9. void                    Switch_Abot_Dialog(Dialog_Info *, short);
  10. void                    Switch_Pref_Dialog(Dialog_Info *, short);
  11.  
  12. void                    Handle_Chng_OK(DialogPtr, AEDescList *, long, short, short);
  13. void                    Set_Type_Long(Str4, OSType *, DialogPtr, short);
  14. void                    Set_Type_Text(File_Union *, OSType);
  15. void                    Handle_Make_Like(DialogPtr, short, short, short);
  16. void                     Handle_Pt_Add_Item(DialogPtr, short, short, short);
  17. void                    Handle_Pt_Del_Item(void);
  18. void                     Handle_Ac_Add_Item(DialogPtr, short, short, short);
  19. void                    Make_Ac_Name(StringPtr, StringPtr, StringPtr, StringPtr);
  20. void                    Handle_Ac_Del_Item(void);
  21. Boolean                 Handle_Check_Item(DialogPtr, short);
  22. void                    Draw_Default_Border(DialogPtr);
  23. void                    Draw_Chng_Crnt_Type(DialogPtr);
  24. short                    Check_Data(DialogPtr, short, short);
  25. void                    Set_DLOG_Text_Item(DialogPtr, short, StringPtr);
  26. static pascal void    Draw_Pref_Border(DialogPtr, short);
  27. static pascal void    Draw_Chng_Dialog(DialogPtr, short);
  28. static pascal void    Draw_Abot_Dialog(DialogPtr, short);
  29. static pascal void    Draw_Pref_Dialog(DialogPtr, short);
  30. static pascal void    Draw_Pref_Pt(DialogPtr, short);
  31. static pascal void    Draw_Pref_Ac(DialogPtr, short);
  32. static pascal void    Draw_Pref_Gnrl(DialogPtr, short);
  33. void                    Handle_Pref_Pop_Up_Menu(Dialog_Info *, short);
  34. void                    Handle_Pref_Set_Up_DLOG(DialogPtr, short, short *);
  35. void                    Handle_Pref_DITL_Item(Dialog_Info *, short);
  36. void                    Get_Dialog_Text(StringPtr, DialogPtr, short);
  37. void                    Set_Dialog_Proc(Handle, DialogPtr, short);
  38. void                    Get_Dialog_Item_Hndl(DialogPtr, short, Handle *);
  39. void                    Get_Dialog_Item_Rect(DialogPtr, short, Rect *);
  40. Boolean                Get_Dialog_Item_In_Rect(DialogPtr, short, Point);
  41.  
  42. Boolean                Done_With_Dialog=NO;
  43. File_Union                F_Type, C_Type;
  44. Str4                    EMPTY_STR="\p";
  45.  
  46. extern    Boolean        All_Done;
  47. extern    Boolean        Dialog_Opened;
  48. extern Handle            The_Icons;
  49. extern short            The_pt_Type[100];
  50. extern short            The_ac_Type[100];
  51. extern short            Multiple_Files;
  52. extern short            CreatorChangerApp, CreatorChangerPref;
  53. extern short            PT_Item_To_Edit;
  54. extern short            AC_Item_To_Edit;
  55. extern short            Strt_Rsrc;
  56. extern Str63            Types_Error_1;
  57. extern Str32            Types_Error_2;
  58. extern Str32            Descr_Error;
  59. extern Str32            Bad_Item_Error;
  60. extern Str32            Bad_CF_Type_1;
  61. extern Str32            Bad_CF_Type_2;
  62. extern Str32            Bad_CF_Type_3;
  63. extern Str32            Bad_CF_Type_4;
  64. extern    Dialog_Info        Chng, Edit, Auto, About, Pref;
  65. extern global_prefs    **Global;
  66. extern EventRecord        The_Event;
  67. extern FSSpec            The_File_Spec;
  68. extern FInfo            File_Info;